package ute.mvc.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import ute.mvc.dao.Assignment_StudentDAO;
import ute.mvc.model.Assignment_Student;

@Service ("assignment_StudentService")
public class Assignment_StudentServiceImpl implements Assignment_StudentService{

	@Autowired
	Assignment_StudentDAO assignment_StudentDAO;
	
	@Transactional
	public void addAssignment_Student(Assignment_Student assignment_student) {
		assignment_StudentDAO.addAssignment_Student(assignment_student);
	}
	@Transactional
	public void updateAssignment_Student(Assignment_Student assignment_student) {
		assignment_StudentDAO.updateAssignment_Student(assignment_student);
	}
	@Transactional
	public void deleteAssignment_Student(Assignment_Student assignment_student) {
		assignment_StudentDAO.deleteAssignment_Student(assignment_student);
	}

}
